<!DOCTYPE html>
<html>
<head>
<include file="Include:meta" />
<title>PBC指标-目的地运营集团数据管理平台</title>
<include file="Include:style" />
<style>
	.w50{ width: 50px; text-align: center; }
</style>
</head>
<body>
<include file="Include:header" />
<include file="Include:left" />
<div id="main">
	<div class="crumbs">
		<div class="crumbs-text">PBC管理 > PBC总览</div>
	</div>
	<div id="content">
		<div class="classify">
			<ul>
				<li><a href="__APP__/Hr/jixiao_pbc">指标库</a></li>
				<li><a href="__APP__/Hr/jixiao_pbc_position">职位PBC</a></li>
				<li><a href="__APP__/Hr/jixiao_pbc_user">人员PBC</a></li>
				<li><a href="javascript:;" class="current">PBC总览</a></li>
			</ul>
		</div>
		<div class="">
			<table class="table table-bordered">
				<tr class="table-header fixed-table-header">
					<td>
					<select name="u_id" class="form-control" style="width:85px;">
						<option value="-10"<if condition="$u_id eq -10"> selected</if>>姓名</option>
						<foreach name="result1" item="vo">
						<option value="{$vo['id']}"<if condition="$u_id eq $vo['id']"> selected</if>>{$vo['username']}</option>
						</foreach>
					</select>
					</td>
					<td>职位</td>
					<td>发约人</td>
					<td>合同期限</td>
					<td>签约日期</td>
					<td>状态 </td>
				</tr>
				<if condition="$result eq NULL">
				<tr>
					<td colspan="6" class="text-center">暂无相关内容</td>
				</tr>
				<else />
				<foreach name="result" item="vo">
					<tr class="interlaced-color">
						<td>{$vo['username']}</td>
						<td>{$vo['position']}</td>
						<td>{$vo['out_name']}</td>
						<td><if condition="$vo['out_name'] neq NULL">{$vo['ht_sdate']}至{$vo['ht_edate']}</if></td>
						<td>{$vo['qy_date']}</td>
						<td><if condition="$vo['out_name'] neq NULL"><a href="__APP__/Hr/jixiao_pbc_view_detail/u_id/{$vo['id']}" target="_blank">查看</a><else />未提交</if></td>
					</tr>
				</foreach>
				</if>
			</table>
		</div>
		<div class="pages">{$page}</div>
	</div>
</div>
<include file="Include:javascript"/>
<script type="text/javascript">
$(function(){
	$(document).on("change","[name='u_id']",function(){
		var val = $(this).val();
		window.location.href="__APP__/Hr/jixiao_pbc_view/u_id/"+val;
	});
});
</script>
</body>
</html>